package cn.xyfmzmy.chain;

import cn.xyfmzmy.chain.entity.User;
import cn.xyfmzmy.chain.validation.Validator;

public class Main {

    public static void main(String[] args) throws Exception {
        User user = new User("xyf", 23);
        Validator validator = new Validator();
        validator.validate(user);
    }
}
